package com.tedu.doctors.mapper;

import com.tedu.doctors.pojo.dto.DoctorQuery;
import com.tedu.doctors.pojo.entity.Doctor;
import com.tedu.doctors.pojo.vo.DoctorVO;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface DoctorMapper {
    List<DoctorVO> selectDoctor(DoctorQuery doctorQuery);

    void update(Doctor doctor);

    void insert(Doctor doctor);

    void deleteById(Long doctorId);
}
